<div bsModal #actionModal="bs-modal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="actionModal" aria-hidden="true"
    [config]="{ backdrop: 'static' }">
    <div class="modal-dialog ">
        <div class="modal-content">
            <form *ngIf="active" #editForm="ngForm" novalidate (ngSubmit)="save()">
                <div class="modal-header">
                    <h4 class="modal-title">
                        <span>批量打印信息</span>
                    </h4>
                    <button type="button" class="close" (click)="close()" aria-label="Close">
                        <span aria-hidden="true">&times;</span>
                    </button>
                </div>
                <div class="modal-body">
                    <div class="row">
                        <div class="" style="margin: auto">
                            <label>定制信息: </label>

                            <h6 style="height: 40px;">
                                {{ task.producerName }} ， 定制数量：{{ task.totalQuantity }}
                            </h6>
                            <h6 style="height: 40px;">
                                <label style="float:left;line-height: 30px;margin-right: 5px">送回时间: </label>
                                <p-calendar [(ngModel)]="receptionTime" name="receptionTime" dateFormat="yy-mm-dd" [ngStyle]="{ 'margin-right': '10px' }">
                                </p-calendar>
                                <p-dropdown [options]="teamGroups" name="teamGroups" [(ngModel)]="teamGroupName" placeholder="选择打印机" optionLabel="displayText"
                                    [style]="{ 'width': '190px' }"></p-dropdown>

                            </h6>
                            <label>定制性质: </label>
                            <input style="width:98%;height:40px;" class="form-control" name="sideProperty" type="text" [(ngModel)]="task.sideProperty" />
                            <label style="margin: 10px 0">备注: </label>
                            <input style="width:98%;height:40px;" class="form-control" name="remark" type="text" [(ngModel)]="task.remark" />


                        </div>
                    </div>
                </div>

                <div class="modal-footer">
                    <button [disabled]="saving" type="button" class="btn btn-default" (click)="close()">
                        {{ l('Cancel') }}
                    </button>
                    <button [disabled]="printPipe == ''" type="submit" class="btn btn-primary blue" [buttonBusy]="saving" [busyText]="'打印中...'">
                        <i class="fa fa-check-circle"></i>
                        <span>打印</span>
                    </button>
                </div>
            </form>
        </div>
    </div>
</div>

